#pragma once
#include "Entity.h"
class CPlayer;
class CNode :
	public CEntity
{
public:
	CNode(void);
	~CNode(void);

	virtual void Update( float fElapsedTime );
	virtual void Render( void );
	virtual bool CheckCollision( IEntity * pOther );
	int GetTeam(int _nTeam) { return m_nTeam; }
	void SetTeam(int _nTeam){ m_nTeam = _nTeam; }

	void SetSoulType( short type )		{soulType = type;}

	void GenerateSouls( CPlayer* master );
protected:
	enum{ FIRE, AIR, EARTH, WATER };
private:
	short soulType;
	CPlayer* m_pOwner;
	float timerCountdown;
	float soulTimer;
	int m_nTeam;
};

